package cn.broadsense.biz.vo;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;
import java.util.Date;

/**
 * 标签规则
 *
 * @author bs
 * @TableName t_tag_rule
 */
@ApiModel("标签规则")
@Data
public class TagRuleVo implements Serializable {
    private static final long serialVersionUID = -32145986344530301L;


    @ApiModelProperty("规则名称")
    @NotBlank(message = "规则名称不能为空")
    private String ruleName;

    @ApiModelProperty("规则描述")
    @NotBlank(message = "规则描述不能为空")
    private String ruleDescribe;

    @ApiModelProperty("状态 0=未启用 1=启用")
    private Integer status;
    @ApiModelProperty("地图显示状态 0=不显示 1=显示")
    private Integer showMap;

    @ApiModelProperty("父节点ID")
    private Long parentId;

}